<template>
	<view class="container">
		<!-- 无网络提示 -->
		<u-no-network></u-no-network>
		
		<view class="item">
			<u--image :src="tipIcon" width="300rpx" height="300rpx" :fade="false"></u--image>
		</view>
		<view class="item title">抱歉，您访问的内容不存在</view>
		<view class="item button">
			<u-button type="error" text="返回首页" shape="circle" @click="onJump('/pages/index/index')"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tipIcon: this.$base.ossUrl + "defaultPage/fail.png",
			};
		},
		methods:{
			onJump(url){
				uni.reLaunch({
					url
				})
			}
		}
	}
</script>
<style lang="scss">
	.container{
		padding-top: 250rpx;
		.item{
			display: flex;
			justify-content: center;
			align-items: center;
			
			&.title{
				font-size: 28rpx;
			}
			
			&.info{
				font-size: 22rpx;
				color: #CCCCCC;
			}
			
			&.button{
				width: 40%;
				margin: 0px auto;
				padding-top: 30rpx;
			}
		}
	}
</style>
